package cn.lyq.card.data.model

import com.google.gson.annotations.SerializedName

class UserInfo {
    @SerializedName("phone")
    var phone: String? = null

    @SerializedName("invitation_code")
    var invitationCode: String? = null

    @SerializedName("user_name")
    var userName: String? = null

    @SerializedName("agent_name")
    var agentName: String? = null

    @SerializedName("agent_no")
    var agentNo: String? = null

    @SerializedName("super_tag")
    var superTag: String? = null

    @SerializedName("level")
    var level: Any? = null

    @SerializedName("status")
    var status = 0

    @SerializedName("money")
    var money: String? = null

    @SerializedName("user_icon")
    var userIcon: String? = null

    @SerializedName("idcard")
    var idCard = 0

    @SerializedName("truename")
    var trueName: String? = null

    @SerializedName("idcode")
    var idCode: String? = null

    @SerializedName("state_id")
    var stateId = 0

    @SerializedName("card_number")
    var cardNumber: String? = null

    @SerializedName("agent_level")
    var agentLevel = 0

//    @SerializedName("level_name")
//    var levelName: String? = null

    @SerializedName("acPassword")
    var acPassword: String? = null

    /**
     * 审核中0 审核通过1 审核拒绝2 未提交3
     */
    var idCardStatus: Int = 4

    var isSetWithdrawalPassword: Int = 1

    fun hasCashPwd() = isSetWithdrawalPassword == 1

}